package com.zeli.dao;

import java.util.List;

import com.zeli.pojo.Production;
import com.zeli.util.Order;

public interface ProductionDao {

	public boolean save(Production production);

	public boolean removeById(Integer id);

	public boolean update(Production production);

	public Production getById(Integer id);

	public List<Production> getList(Production production, Integer firstResult, Integer maxResults, Order[] orders);
	
	public List<Production> getListByType(Production production, Integer firstResult, Integer maxResults, Order[] orders);
	
	public List<Production> getListByName(Production production,String languange, Integer firstResult, Integer maxResults, Order[] orders);

	public Integer getCount(Production production);

}

